package com.miya.demo.service.operationlog;

import cn.dev33.satoken.stp.StpUtil;
import cn.monitor4all.logRecord.service.IOperatorIdGetService;
import org.springframework.stereotype.Service;

@Service
public class OperationLogGetService implements IOperatorIdGetService {

    @Override
    public String getOperatorId() {
        return StpUtil.getLoginIdAsString();
    }
}
